<template>
<div class="nav-simple">
	<i class="iconfont icon-back " @click="backHome()"></i>
	<span class="titlecon">{{message}}</span>
</div>
</template>

<script>
var _mm=require("common/util/mm.js")

export default {

  name: 'navSimple',
  props:{
  	titlecon:String,
  	default(){
  		return "TShop"
  	}
  },
  methods:{
    	backHome(){
    		
    		this.$emit('goBack');
    		window.history.back();
    	},
   },
  data () {
    return {

    };

  },
  props:{
  	message:{
  		type:String,
  	}
  }
};
</script>

<style lang="stylus" scoped>
.nav-simple
	height:50px;
	width:100%;
	background:#f9f9f9
	color:#616161
	border-bottom:0.5px solid #616161
	text-align:center
	position:relative
	top:0
	left:0
	i
		position:absolute
		top:0
		left:0
		font-size:24px
		display:inline-block
		width:50px
		line-height:50px
	.titlecon
		line-height:50px
		font-size:18px
		
	
	
</style>